#ifndef BLUEJPROJECT_H
#define BLUEJPROJECT_H

#include <QString>
#include <QStringList>
#include <QList>
#include <QFile>

class BlueJProperty;
class BlueJProject
{
public:
    BlueJProject();

    void appendProperty(BlueJProperty property);

    QString text();

    void setPath(const QString &path);
    void write();

private:
    QList<BlueJProperty> _properties;
    QString _path;
};

class BlueJProperty
{
public:
    BlueJProperty(const QString &name);

    void appendAttribute(const QString &name, const QString &value);
    QString text();

private:
    QString _name;
    QStringList _properties;
};

#endif // BLUEJPROJECT_H
